import axios from '@/libs/api.request'

export class BalanceApi {
  // 获取社保差额列表数据
  static getSocialSecurityBalanceList (params) {
    return axios.request({
      url: '/Balance/GetSocialSecurityBalanceList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出社保差额账单
  static exportSocialSecurityBill (params) {
    return axios.request({
      url: '/Balance/ExportSocialSecurityBill',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取公积金差额列表数据
  static getProvidentFundBalanceTotal (params) {
    return axios.request({
      url: '/Balance/GetProvidentFundBalanceTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出公积金差额账单
  static exportProvidentFundBill (params) {
    return axios.request({
      url: '/Balance/ExportProvidentFundBill',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取商保差额列表数据
  static getCommercialBalanceTotal (params) {
    return axios.request({
      url: '/Balance/GetCommercialBalanceTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出商保差额账单
  static exportCommercialBill (params) {
    return axios.request({
      url: '/Balance/ExportCommercialBill',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取客户差额列表数据
  static getCompanyBalance (params) {
    return axios.request({
      url: '/Balance/GetCompanyBalance',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出客户差额账单
  static exportCompanyBalance (params) {
    return axios.request({
      url: '/Balance/ExportCompanyBalance',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取客户差额明细
  static getCompanyBalanceDetail (params) {
    return axios.request({
      url: '/Balance/GetCompanyBalanceDetail',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出客户差额明细账单
  static exportCompanyBalanceDetail (params) {
    return axios.request({
      url: '/Balance/ExportCompanyBalanceDetail',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 转结
  static tranferBalance (params) {
    return axios.request({
      url: '/Balance/TranferBalance',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 差额处理
  static postPayableBalanceHandleLog (params) {
    return axios.request({
      url: '/Balance/PostPayableBalanceHandleLog',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 差额处理2
  static updatePayableBalanceHandleLog (params) {
    return axios.request({
      url: '/Balance/UpdatePayableBalanceHandleLog',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 台账差额说明列表
  static getBalanceRemarks (params) {
    return axios.request({
      url: '/Balance/GetBalanceRemarks',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出应付差额说明
  static exportBalanceRemark (params) {
    return axios.request({
      url: '/Balance/ExportBalanceRemark',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 批量导入差额处理
  static importBalanceHandle (params) {
    return axios.request({
      url: '/Balance/ImportBalanceHandle',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出差额明细（列表）
  static exportBalanceDetail (params) {
    return axios.request({
      url: '/Balance/ExportBalanceDetail',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
}
